﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebInvoicingsys.system.baseset.sysrole
{
    public partial class usermanagement : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ;
            }
        }

        //查询
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            string sysaccount = txt_sysaccount.Text.Trim();
            string username = txt_username.Text.Trim();
            string mobile = txt_mobile.Text.Trim();
            string email = txt_Email.Text.Trim();
            string stu1 = uc_stu1.getValue();
            string department = uc_stu1.getValue();
            string job = uc_job.getValue();

            string url = "/system/baseset/sysrole/usermanagement_list.aspx?sysaccount={0}&username={1}&mobile={2}&email={3}&stu1={4}&department={5}&job={6}";

            url = String.Format(url, sysaccount, username, mobile, email, stu1, department, job);

            Response.Redirect(url);
        }

        //添加
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            string url = "/system/baseset/sysrole/usermanagement_add.aspx";

            Response.Redirect(url);
        }
    }
}